package com.hhf.demo_02;

/**
 * @Author: 黄恒锋
 * @DateTime: 2024/5/11 18:18
 * @Description: TODO
 */
public class ThreadDemo2 implements Runnable{
    @Override
    public void run() {
        for (int i = 0; i < 100; i++) {
            System.out.println(Thread.currentThread().getName()+"打印"+i);
        }
    }
}
